package com.ruoyi.tongban.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 年级对象 ins_grade
 * 
 * @author ruoyi
 * @date 2021-03-18
 */
public class InsGrade extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 年级id */
    private Long gradeId;

    /** 机构id */
    @Excel(name = "机构id")
    private Long institutionId;

    /** 机构名称 */
    @Excel(name = "机构名称")
    private String institutionName;

    /** 年级名称 */
    @Excel(name = "年级名称")
    private String gradeName;

    /** 年级状态:对应sys_dictionary表中Status类型 */
    @Excel(name = "年级状态:对应sys_dictionary表中Status类型")
    private Integer status;

    /** $column.columnComment */
    @Excel(name = "年级状态:对应sys_dictionary表中Status类型")
    private Long createUser;

    /** $column.columnComment */
    @Excel(name = "年级状态:对应sys_dictionary表中Status类型")
    private Long updateUser;

    public String getInstitutionName() {
        return institutionName;
    }

    public void setInstitutionName(String institutionName) {
        this.institutionName = institutionName;
    }

    public void setGradeId(Long gradeId)
    {
        this.gradeId = gradeId;
    }

    public Long getGradeId() 
    {
        return gradeId;
    }
    public void setInstitutionId(Long institutionId) 
    {
        this.institutionId = institutionId;
    }

    public Long getInstitutionId() 
    {
        return institutionId;
    }
    public void setGradeName(String gradeName) 
    {
        this.gradeName = gradeName;
    }

    public String getGradeName() 
    {
        return gradeName;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setCreateUser(Long createUser) 
    {
        this.createUser = createUser;
    }

    public Long getCreateUser() 
    {
        return createUser;
    }
    public void setUpdateUser(Long updateUser) 
    {
        this.updateUser = updateUser;
    }

    public Long getUpdateUser() 
    {
        return updateUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("gradeId", getGradeId())
            .append("institutionId", getInstitutionId())
            .append("gradeName", getGradeName())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("createUser", getCreateUser())
            .append("updateTime", getUpdateTime())
            .append("updateUser", getUpdateUser())
            .toString();
    }
}
